[INFO] cloning repository https://github.com/Nkemjikanma/uzo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nkemjikanma/uzo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNkemjikanma%2Fuzo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNkemjikanma%2Fuzo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e7749e434c0419755d9cf4674f21411f09927e91
[INFO] fixing Nkemjikanma/uzo against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNkemjikanma%2Fuzo" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Nkemjikanma/uzo
[INFO] finished tweaking git repo https://github.com/Nkemjikanma/uzo
[INFO] tweaked toml for git repo https://github.com/Nkemjikanma/uzo written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Nkemjikanma/uzo on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Nkemjikanma/uzo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cf937aaf4dfbcb42f4a63f406f7aa64b524a8ff354c0edf540b16e79bba5f409
[INFO] running `Command { std: "docker" "start" "cf937aaf4dfbcb42f4a63f406f7aa64b524a8ff354c0edf540b16e79bba5f409", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf937aaf4dfbcb42f4a63f406f7aa64b524a8ff354c0edf540b16e79bba5f409" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf937aaf4dfbcb42f4a63f406f7aa64b524a8ff354c0edf540b16e79bba5f409", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf937aaf4dfbcb42f4a63f406f7aa64b524a8ff354c0edf540b16e79bba5f409" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking uzo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found keyword `const`
[INFO] [stdout]   --> src/main.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let token = format!("{id} . {secret}")
[INFO] [stdout]    |                                           ^ help: add `;` here
[INFO] [stdout] 43 |
[INFO] [stdout] 44 |     const session = SessionWithToken {
[INFO] [stdout]    |     ----- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/main.rs:49:6
[INFO] [stdout]    |
[INFO] [stdout] 49 |     }
[INFO] [stdout]    |      ^ help: add `;` here
[INFO] [stdout] 50 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         id,
[INFO] [stdout]    |         ^^ non-constant value
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `let` instead of `const`
[INFO] [stdout]    |
[INFO] [stdout] 44 -     const session = SessionWithToken {
[INFO] [stdout] 44 +     let session = SessionWithToken {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/main.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |         created_at: date,
[INFO] [stdout]    |                     ^^^^ non-constant value
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `let` instead of `const`
[INFO] [stdout]    |
[INFO] [stdout] 44 -     const session = SessionWithToken {
[INFO] [stdout] 44 +     let session = SessionWithToken {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         token
[INFO] [stdout]    |         ^^^^^ non-constant value
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `let` instead of `const`
[INFO] [stdout]    |
[INFO] [stdout] 44 -     const session = SessionWithToken {
[INFO] [stdout] 44 +     let session = SessionWithToken {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `hash::BuildHasher`
[INFO] [stdout]   --> src/main.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let secret_hash = hash::BuildHasher(secret);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^ not a function, tuple struct or tuple variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secrete_hash` in this scope
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         secrete_hash, 
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 46 -         secrete_hash, 
[INFO] [stdout] 46 +         secret_hash, 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RngCore`, `TryCryptoRng`, and `rand_core`
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{RngCore, TryCryptoRng, rand_core, rngs::OsRng};
[INFO] [stdout]   |            ^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: missing type for `const` item
[INFO] [stdout]   --> src/main.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     const session = SessionWithToken {
[INFO] [stdout]    |                  ^ help: provide a type for the constant: `: SessionWithToken`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `const`
[INFO] [stdout]   --> src/main.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let token = format!("{id} . {secret}")
[INFO] [stdout]    |                                           ^ help: add `;` here
[INFO] [stdout] 43 |
[INFO] [stdout] 44 |     const session = SessionWithToken {
[INFO] [stdout]    |     ----- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/main.rs:49:6
[INFO] [stdout]    |
[INFO] [stdout] 49 |     }
[INFO] [stdout]    |      ^ help: add `;` here
[INFO] [stdout] 50 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_fill_bytes` found for struct `OsRng` in the current scope
[INFO] [stdout]    --> src/main.rs:23:9
[INFO] [stdout]     |
[INFO] [stdout]  23 |     rng.try_fill_bytes(&mut bytes); // fill the bytes array with secure random data
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ method not found in `OsRng`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:229:8
[INFO] [stdout]     |
[INFO] [stdout] 229 |     fn try_fill_bytes(&mut self, dst: &mut [u8]) -> Result<(), Self::Error>;
[INFO] [stdout]     |        -------------- the method is available for `OsRng` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `TryRngCore` which provides `try_fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::TryRngCore;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn create_session() -> Session {
[INFO] [stdout]    |    --------------      ^^^^^^^ expected `Session`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0435, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `uzo` (bin "uzo" test) due to 10 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         id,
[INFO] [stdout]    |         ^^ non-constant value
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `let` instead of `const`
[INFO] [stdout]    |
[INFO] [stdout] 44 -     const session = SessionWithToken {
[INFO] [stdout] 44 +     let session = SessionWithToken {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/main.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |         created_at: date,
[INFO] [stdout]    |                     ^^^^ non-constant value
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `let` instead of `const`
[INFO] [stdout]    |
[INFO] [stdout] 44 -     const session = SessionWithToken {
[INFO] [stdout] 44 +     let session = SessionWithToken {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         token
[INFO] [stdout]    |         ^^^^^ non-constant value
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `let` instead of `const`
[INFO] [stdout]    |
[INFO] [stdout] 44 -     const session = SessionWithToken {
[INFO] [stdout] 44 +     let session = SessionWithToken {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `hash::BuildHasher`
[INFO] [stdout]   --> src/main.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let secret_hash = hash::BuildHasher(secret);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^ not a function, tuple struct or tuple variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secrete_hash` in this scope
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         secrete_hash, 
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 46 -         secrete_hash, 
[INFO] [stdout] 46 +         secret_hash, 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RngCore`, `TryCryptoRng`, and `rand_core`
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{RngCore, TryCryptoRng, rand_core, rngs::OsRng};
[INFO] [stdout]   |            ^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: missing type for `const` item
[INFO] [stdout]   --> src/main.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     const session = SessionWithToken {
[INFO] [stdout]    |                  ^ help: provide a type for the constant: `: SessionWithToken`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_fill_bytes` found for struct `OsRng` in the current scope
[INFO] [stdout]    --> src/main.rs:23:9
[INFO] [stdout]     |
[INFO] [stdout]  23 |     rng.try_fill_bytes(&mut bytes); // fill the bytes array with secure random data
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ method not found in `OsRng`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:229:8
[INFO] [stdout]     |
[INFO] [stdout] 229 |     fn try_fill_bytes(&mut self, dst: &mut [u8]) -> Result<(), Self::Error>;
[INFO] [stdout]     |        -------------- the method is available for `OsRng` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `TryRngCore` which provides `try_fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::TryRngCore;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn create_session() -> Session {
[INFO] [stdout]    |    --------------      ^^^^^^^ expected `Session`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0435, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `uzo` (bin "uzo") due to 10 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "cf937aaf4dfbcb42f4a63f406f7aa64b524a8ff354c0edf540b16e79bba5f409", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf937aaf4dfbcb42f4a63f406f7aa64b524a8ff354c0edf540b16e79bba5f409", kill_on_drop: false }`
[INFO] [stdout] cf937aaf4dfbcb42f4a63f406f7aa64b524a8ff354c0edf540b16e79bba5f409
